import request from '@/utils/request'

// 用户列表
export async function user(params?: any) {
  return request('/shopAdmin/getUserList', {
    params
  })
}
// 更改状态
export async function status(data: any) {
  return request('/shopAdmin/add', {
    method: 'POST',
    data
  })
}
// 根据id删除商家管理员
export async function remove(id: any) {
  return request('/shopAdmin/del', {
    method: 'POST',
    data: {
      id
    }
  })
}
